package com.zixuan.gulicollege.eduservice.client.impl;

import com.zixuan.gulicollege.common_utils.R;
import com.zixuan.gulicollege.eduservice.client.VodClient;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName: VodFileDegradeFeignClient
 * @Author: zixuan
 * @Date: 2021/5/15 14:52
 * @Description:
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {

    @Override
    public R deleteAliyunVideo(String id) {
        return R.error().message("删除视频出错了！");
    }

    @Override
    public R deleteBatch(List<String> videoListId) {
        return R.error().message("删除多个视频出错了！");
    }

    @Override
    public R getPlayAuth(String id) {
        return R.error().message("获取视频地址失败！");
    }
}
